package com.zhong.mapper;

import com.zhong.model.Order;
import org.apache.ibatis.annotations.Insert;

/**
 * @author itsome on 2021-08-27 22:01:56
 */
public interface OrderMapper {

    @Insert("insert into order_tbl(user_id, commodity_code, count, money) " +
            "values(#{userId}, #{commodityCode}, #{count}, #{money})")
    void insert(Order order);

}
